package xyz.chenyongpeng.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import xyz.chenyongpeng.common.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author chenyongpeng
 * @since 2018-12-10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="ZsUser对象", description="用户表")
public class ZsUser extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户ID")
    @TableId(value = "u_id", type = IdType.AUTO)
    private Integer uId;

    @ApiModelProperty(value = "用户姓名")
    private String uName;

    @ApiModelProperty(value = "用户昵称")
    private String uNickname;

    @ApiModelProperty(value = "用户的头像")
    private String uImg;

    @ApiModelProperty(value = "用户联系方式")
    private String uPhone;

    @ApiModelProperty(value = "微信openID")
    private String wxOpenid;

    @ApiModelProperty(value = "微信开放平台unionid")
    private String unionid;


}
